EFI: add arch specific module handling to read_file()
authorRoy Franz <roy.franz@linaro.org>
Fri, 26 Sep 2014 09:59:56 +0000 (11:59 +0200)
committerJan Beulich <jbeulich@suse.com>
Fri, 26 Sep 2014 09:59:56 +0000 (11:59 +0200)
commit07f1c39d715b5161aae97c0b909e013f4fd765d3
tree1308aa987f32d815f9a8837fe4820de5c8f492b1
parentec34bbed14516d83c0005ce86c0167e2e1e03de4
EFI: add arch specific module handling to read_file()

Each architecture tracks modules differently internally, so add
efi_arch_handle_module() routine to enable the common code to invoke the proper
handling of modules as they are loaded.  Module handling for ucode,ramdisk, and
xsm is changed to not process remainder of string after filename as options,
since these modules don't take options.

Signed-off-by: Roy Franz <roy.franz@linaro.org>
Acked-by: Jan Beulich <jbeulich@suse.com>
xen/arch/x86/efi/efi-boot.h
xen/common/efi/boot.c